package com.jdls.tanhua.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @author 嘉德罗斯
 * @date 2021/10/26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document("recommend_user")
public class RecommendUser implements Serializable {

    private ObjectId id;

    private Long userId;

    private Long toUserId;

    private Double score = 60D;

    private String date;
}
